Optimal. Leaf size=139 \[ \frac{x \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{1}{n};-\frac{1}{2},-\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{\sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.221845, antiderivative size = 139, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{x \sqrt{a+b x^n+c x^{2 n}} F_1\left (\frac{1}{n};-\frac{1}{2},-\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b-\sqrt{b^2-4 a c}},-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}}\right )}{\sqrt{\frac{2 c x^n}{b-\sqrt{b^2-4 a c}}+1} \sqrt{\frac{2 c x^n}{\sqrt{b^2-4 a c}+b}+1}} \]
Antiderivative was successfully verified.
[In] Int[Sqrt[a + b*x^n + c*x^(2*n)],x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 37.1299, size = 124, normalized size = 0.89 \[ \frac{x \sqrt{a + b x^{n} + c x^{2 n}} \operatorname{appellf_{1}}{\left (\frac{1}{n},- \frac{1}{2},- \frac{1}{2},1 + \frac{1}{n},- \frac{2 c x^{n}}{b - \sqrt{- 4 a c + b^{2}}},- \frac{2 c x^{n}}{b + \sqrt{- 4 a c + b^{2}}} \right )}}{\sqrt{\frac{2 c x^{n}}{b - \sqrt{- 4 a c + b^{2}}} + 1} \sqrt{\frac{2 c x^{n}}{b + \sqrt{- 4 a c + b^{2}}} + 1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((a+b*x**n+c*x**(2*n))**(1/2),x)
[Out]
_______________________________________________________________________________________
Mathematica [B] time = 8.73882, size = 786, normalized size = 5.65 \[ \frac{x \left (\frac{2 a^2 b n (2 n+1) x^n \left (-\sqrt{b^2-4 a c}+b+2 c x^n\right ) \left (\sqrt{b^2-4 a c}+b+2 c x^n\right ) F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )}{(n+1)^2 \left (\sqrt{b^2-4 a c}-b\right ) \left (\sqrt{b^2-4 a c}+b\right ) \left (n x^n \left (\left (\sqrt{b^2-4 a c}+b\right ) F_1\left (2+\frac{1}{n};\frac{1}{2},\frac{3}{2};3+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+\left (b-\sqrt{b^2-4 a c}\right ) F_1\left (2+\frac{1}{n};\frac{3}{2},\frac{1}{2};3+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )\right )-4 (2 a n+a) F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )\right )}+\frac{a^2 n \left (-\sqrt{b^2-4 a c}+b+2 c x^n\right ) \left (\sqrt{b^2-4 a c}+b+2 c x^n\right ) F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )}{c \left (n x^n \left (-\left (\sqrt{b^2-4 a c}+b\right )\right ) F_1\left (1+\frac{1}{n};\frac{1}{2},\frac{3}{2};2+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+n x^n \left (\sqrt{b^2-4 a c}-b\right ) F_1\left (1+\frac{1}{n};\frac{3}{2},\frac{1}{2};2+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )+4 a (n+1) F_1\left (\frac{1}{n};\frac{1}{2},\frac{1}{2};1+\frac{1}{n};-\frac{2 c x^n}{b+\sqrt{b^2-4 a c}},\frac{2 c x^n}{\sqrt{b^2-4 a c}-b}\right )\right )}+\frac{\left (a+x^n \left (b+c x^n\right )\right )^2}{n+1}\right )}{\left (a+x^n \left (b+c x^n\right )\right )^{3/2}} \]
Warning: Unable to verify antiderivative.
[In] Integrate[Sqrt[a + b*x^n + c*x^(2*n)],x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.077, size = 0, normalized size = 0. \[ \int \sqrt{a+b{x}^{n}+c{x}^{2\,n}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((a+b*x^n+c*x^(2*n))^(1/2),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{c x^{2 \, n} + b x^{n} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^(2*n) + b*x^n + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F(-2)] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: TypeError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^(2*n) + b*x^n + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{a + b x^{n} + c x^{2 n}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((a+b*x**n+c*x**(2*n))**(1/2),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \sqrt{c x^{2 \, n} + b x^{n} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(sqrt(c*x^(2*n) + b*x^n + a),x, algorithm="giac")
[Out]